package top.zackyoung.orm.fluent.mapper;

import cn.org.atool.fluent.mybatis.spring.MapperFactory;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.jdbc.metadata.HikariDataSourcePoolMetadata;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;
import javax.sql.DataSource;

/**
 * @author ZackYoung
 * @version 1.0
 * @date 2021/11/6
 */
@Configuration
public class MybatisAutoConfiguration {
    @Bean
    public MapperFactory mapperFactory() {
        return new MapperFactory();
    }
}
